package com.xw.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.xw.entity.Subject;
import com.xw.req.PageRequest;

import java.util.List;

/**
* @author 15536
* @description 针对表【subject】的数据库操作Service
* @createDate 2024-12-05 20:15:05
*/
public interface SubjectService extends IService<Subject> {

    void insertSubject(Subject subject);

    void deleteSubject(Long id);

    List<Subject> getAllSubjects();

    void updateSubject(Subject subject);

    void deleteBatchByIds(List<Integer> ids);

    PageInfo<Subject> page(PageRequest<Subject> pageRequest);

}
